package com.xszx.server.mapper;

import com.xszx.server.dto.Page;
import com.xszx.server.entity.Category;

import java.util.List;

public interface CategoryMapper {
    //查询全部的大章
    List<Category> findAll();

    //统计当前表中的数据条数
    int findCount();

    int deleteByPrimaryKey(String id);

    int insert(Category record);

    int insertSelective(Category record);

    Category selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Category record);

    int updateByPrimaryKey(Category record);
}
